public enum SecurityLevel extends java.lang.Enum<SecurityLevel> implements IEnumType
| Enum Constant and Description |
|---|
Level0
This setting allows the decoder to operate in its most aggressive state, while providing
sufficient security in decoding most “in-spec” bar codes.
|
Level1
This default setting eliminates most misdecodes.
|
Level2
Select this option if Security level 1 fails to eliminate misdecodes.
|
Level3
If you selected Security Level 2 and misdecodes still occur, select this security level.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
toString() |
static SecurityLevel |
valueOf(int code) |
static SecurityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityLevel Level0
public static final SecurityLevel Level1
public static final SecurityLevel Level2
public static final SecurityLevel Level3
public static SecurityLevel[] values()
for (SecurityLevel c : SecurityLevel.values()) System.out.println(c);
public static SecurityLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in interface IEnumTypetoString in class java.lang.Enum<SecurityLevel>public static SecurityLevel valueOf(int code)